package com.qys.erp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 库位对象 erp_region
 * 
 * @author qys
 * @date 2021-06-19
 */
public class Region extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 库位id */
    private Long regionId;

    /** 所属仓库 */
    @Excel(name = "所属仓库")
    private Long storeId;

    /** 名称 */
    @Excel(name = "名称")
    private String regionName;

    /** 编码 */
    @Excel(name = "编码")
    private String regionSerial;

    /** 描述 */
    @Excel(name = "描述")
    private String regionDescribe;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 描述 */
    //@Excel(store = "库位")
    private Object store;



    public void setRegionId(Long regionId)
    {
        this.regionId = regionId;
    }

    public Long getRegionId() 
    {
        return regionId;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setRegionName(String regionName) 
    {
        this.regionName = regionName;
    }

    public String getRegionName() 
    {
        return regionName;
    }
    public void setRegionSerial(String regionSerial) 
    {
        this.regionSerial = regionSerial;
    }

    public String getRegionSerial() 
    {
        return regionSerial;
    }
    public void setRegionDescribe(String regionDescribe) 
    {
        this.regionDescribe = regionDescribe;
    }

    public String getRegionDescribe() 
    {
        return regionDescribe;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setStore(Object store) {
        this.store = store;
    }

    public Object getStore() {
        return store;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("regionId", getRegionId())
            .append("parentId", getParentId())
            .append("storeId", getStoreId())
            .append("regionName", getRegionName())
            .append("regionSerial", getRegionSerial())
            .append("regionDescribe", getRegionDescribe())
            .append("orderNum", getOrderNum())
            .append("status", getStatus())
            .append("store", getStore())
            .toString();
    }
}
